package cn.iocoder.yudao.module.vote.controller.admin.fielddynamicsconfig.vo;

import cn.iocoder.yudao.module.vote.dal.dataobject.voteuserresult.VoteUserResultDO;
import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;

/**
* 表动态配置字段展示 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class FieldDynamicsConfigBaseVO {

    @ApiModelProperty(value = "描述")
    private String title;

    @ApiModelProperty(value = "表名")
    private String tableName;

    @ApiModelProperty(value = "字段列表")
    private String fieldList;

//    @ApiModelProperty(value = "排序字段及方式")
//    private String orderList;

    private List<FieldInfoVO> orderFrontList;

    @ApiModelProperty(value = "需要显示的字段")
    private String showFieldList;

    @ApiModelProperty(value = "必须显示的字段")
    private String mustFieldList;

    @ApiModelProperty(value = "第三方id")
    private Long thirdId;

    public static void main(String[] args) {
//        SFunction<VoteUserResultDO,Double> sf = VoteUserResultDO::getWeight;
//        SFunction<VoteUserResultDO,Double> sf1 = i->i.getWeight();
//        SFunction<VoteUserResultDO,Double> sf2 = (i)->i.getWeight();
//        System.out.println(sf.apply());
    }
}
